package com.zwp.base.constant

import androidx.datastore.preferences.core.intPreferencesKey
import androidx.datastore.preferences.core.stringPreferencesKey


object Constants {

    //DataStore<Preferences>文件名
    const val MY_PREFERENCES = "myPreferences"

    //DataStore<Preferences> 中的key
    val KEY_USER_NAME = stringPreferencesKey("userName")
    val KEY_USER_AGE = intPreferencesKey("userAge")

}